package com.tuo51.childcare.service;

import lombok.Setter;

public interface QRCodeService {

    enum QRCodeScene{
        ParentCertificate(0, "超级妈妈大比拼");

        @Setter
        private int code;

        @Setter
        private String value;

        QRCodeScene(int code, String value){
            this.code = code;
            this.value = value;
        }

        public int codeOf(){
            return code;
        }

        public String valueOf(){
            return value;
        }
    }

    String qrCodeBySceneIdAndObjId(String appid, int sceneId, String objId);

}
